04. Canvas 2D Image data

Canvas 2D Image data

Question:

Start Quiz:

Solution:

INSTRUCTOR NOTE:

Our canvas context is blank so the starting value for all pixels is 0. If you were editing a pre-existing image, you might have to edit the red and blue values as well.